<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--${pageContext.servletContext.contextPath}--%>
<form action="${pageContext.request.contextPath}/login" method="post">
    账号：<input type="text" name="username" value=""><br>
    密码：<input type="password" name="password" value=""><br>
    <input type="submit">
</form>
<span style="color: red">${requestScope.error}</span>
</body>
</html>
